package com.xx.pmis.model;

import java.util.HashSet;
import java.util.Set;

/**
 * @class 财务管理，二级科目实体类 <br>
 * 
 * @editor 石星星 @Date 2011-9-22 下午02:32:26 <br>
 * @version jdk_1.5.0
 */
public class SubjectSon extends AbstractEntity implements Comparable<Entity> {
	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1L;
	// 基于命名规则，科目subject，二级科目subjectson，三级科目subjectgrandson
	// 因此在属性命名为避免名称过长，均用简称。
	private String ssID; // 科目ID
	private Subject subject; // 父级科目ID
	private String ssName; // 科目名称
	private String ssCode; // 科目代码
	private String ssState; // 状态
	private String ssDesc; // 科目描述
	private Set<Account> account = new HashSet<Account>(0);

	public SubjectSon() {
		super();
	}

	public String getSsID() {
		return ssID;
	}

	public void setSsID(String ssID) {
		this.ssID = ssID;
	}

	public Subject getSubject() {
		return subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}

	public String getSsName() {
		return ssName;
	}

	public void setSsName(String ssName) {
		this.ssName = ssName;
	}

	public String getSsCode() {
		return ssCode;
	}

	public void setSsCode(String ssCode) {
		this.ssCode = ssCode;
	}

	public String getSsState() {
		return ssState;
	}

	public void setSsState(String ssState) {
		this.ssState = ssState;
	}

	public String getSsDesc() {
		return ssDesc;
	}

	public void setSsDesc(String ssDesc) {
		this.ssDesc = ssDesc;
	}

	public Set<Account> getAccount() {
		return account;
	}

	public void setAccount(Set<Account> account) {
		this.account = account;
	}

}
